package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-04-22
 */
@TableName("bus_prd_trace")
public class BusPrdTrace extends Model<BusPrdTrace> {

    private static final long serialVersionUID = 1L;

    @TableId(value="ID", type= IdType.UUID)
    private String id;
    /**
     * 结束值
     */
    @TableField("PRD_TRACE_MAXIMUM")
    private String prdTraceMaximum;
    /**
     * 开始值
     */
    @TableField("PRD_TRACE_MINIMUM")
    private String prdTraceMinimum;
    /**
     * 数量
     */
    @TableField("PRD_TRACE_BATCHCOUNT")
    private Integer prdTraceBatchcount;
    /**
     * 产品销售区域
     */
    @TableField("PRD_SELL_AREA")
    private String prdSellArea;
    /**
     * 生成日期
     */
    @TableField("DATADATE")
    private Integer datadate;
    /**
     * 产品id
     */
    @TableField("PRD_ID")
    private String prdId;
    @TableField("STATUS")
    private Integer status;
    /**
     * 创建时间
     */
    @TableField("CREATETIME")
    private Date createtime;
    @TableField("VERSION")
    private Integer version;
    /**
     * 创建人
     */
    @TableField("MAINTAINER")
    private String maintainer;
    @TableField("DEL_FLAG")
    private Integer delFlag;
    @TableField("QR_CODE_FILE_NAME")
    private String qrCodeFileName;
    @TableField(exist = false)
    private String qrCodeFileUrl;
    @TableField("COM_ID")
    private String comId;
    @TableField(exist = false)
    private String prdName;
    @TableField(exist = false)
    private String comName;

    public String getQrCodeFileName() {
        return qrCodeFileName;
    }

    public void setQrCodeFileName(String qrCodeFileName) {
        this.qrCodeFileName = qrCodeFileName;
    }

    public String getComId() {
        return comId;
    }

    public void setComId(String comId) {
        this.comId = comId;
    }

    public String getPrdName() {
        return prdName;
    }

    public void setPrdName(String prdName) {
        this.prdName = prdName;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public String getQrCodeFileUrl() {
        return qrCodeFileUrl;
    }

    public void setQrCodeFileUrl(String qrCodeFileUrl) {
        this.qrCodeFileUrl = qrCodeFileUrl;
    }
    /*@TableField(exist = false)
    private String encryptPrdTraceNo;

    public String getEncryptPrdTraceNo() {
        return encryptPrdTraceNo;
    }

    public void setEncryptPrdTraceNo(String encryptPrdTraceNo) {
        this.encryptPrdTraceNo = encryptPrdTraceNo;
    }*/

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPrdTraceMaximum() {
        return prdTraceMaximum;
    }

    public void setPrdTraceMaximum(String prdTraceMaximum) {
        this.prdTraceMaximum = prdTraceMaximum;
    }

    public String getPrdTraceMinimum() {
        return prdTraceMinimum;
    }

    public void setPrdTraceMinimum(String prdTraceMinimum) {
        this.prdTraceMinimum = prdTraceMinimum;
    }

    public Integer getPrdTraceBatchcount() {
        return prdTraceBatchcount;
    }

    public void setPrdTraceBatchcount(Integer prdTraceBatchcount) {
        this.prdTraceBatchcount = prdTraceBatchcount;
    }

    public String getPrdSellArea() {
        return prdSellArea;
    }

    public void setPrdSellArea(String prdSellArea) {
        this.prdSellArea = prdSellArea;
    }

    public Integer getDatadate() {
        return datadate;
    }

    public void setDatadate(Integer datadate) {
        this.datadate = datadate;
    }

    public String getPrdId() {
        return prdId;
    }

    public void setPrdId(String prdId) {
        this.prdId = prdId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getMaintainer() {
        return maintainer;
    }

    public void setMaintainer(String maintainer) {
        this.maintainer = maintainer;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "BusPrdTrace{" +
        "id=" + id +
        ", prdTraceMaximum=" + prdTraceMaximum +
        ", prdTraceMinimum=" + prdTraceMinimum +
        ", prdTraceBatchcount=" + prdTraceBatchcount +
        ", prdSellArea=" + prdSellArea +
        ", datadate=" + datadate +
        ", prdId=" + prdId +
        ", status=" + status +
        ", createtime=" + createtime +
        ", version=" + version +
        ", maintainer=" + maintainer +
        ", delFlag=" + delFlag +
        "}";
    }
}
